package cn.edu.scau.cmi.front.domain.echart;

public class Node {
	private Integer category;
	private boolean draggable;
	private String id;
	private Object itemStyple;
	private String name;
	private Integer symbolSize;
	public Integer value;
	private Integer x;
	private Integer y;
	private boolean flag;

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public boolean isDraggable() {
		return draggable;
	}

	public void setDraggable(boolean draggable) {
		this.draggable = draggable;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Object getItemStyple() {
		return itemStyple;
	}

	public void setItemStyple(Object itemStyple) {
		this.itemStyple = itemStyple;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSymbolSize() {
		return symbolSize;
	}

	public void setSymbolSize(Integer symbolSize) {
		this.symbolSize = symbolSize;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

	public Integer getX() {
		return x;
	}

	public void setX(Integer x) {
		this.x = x;
	}

	public Integer getY() {
		return y;
	}

	public void setY(Integer y) {
		this.y = y;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public Node(Integer category, String id, String name, Integer symbolSize, Integer value) {
		this(category, true, id, null, name, symbolSize, value, null, null, true);
	}

	public Node(Integer category, boolean draggable, String id, Object itemStyple, String name, Integer symbolSize,
			Integer value, Integer x, Integer y, boolean flag) {
		super();
		this.category = category;
		this.draggable = draggable;
		this.id = id;
		this.itemStyple = itemStyple;
		this.name = name;
		this.symbolSize = symbolSize;
		this.value = value;
		this.x = x;
		this.y = y;
		this.flag = flag;
	}
}